<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/employees.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> 任务查看 <a href="__ACTION__">【刷新】</a></font></h1>
     </div>
   <div class="module_public_main">
      <table>
         <tr>
           <td align="center">编号</td>
           <td align="center">任务下达人</td>
           <td align="center">下达时间</td>
           <td align="center">任务内容</td>
           <td align="center">上级审批</td>
           <td align="center">操作</td>
         </tr>
         <?php if(is_array($t_info)): $k = 0; $__LIST__ = $t_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($k % 2 );++$k;?><tr>
           <td align="center"><?php echo ($k); ?></td>
           <td align="center"><?php echo ($v["t_name"]); ?></td>
           <td align="center"><?php echo (date("Y-m-d H:m",$v["t_addtime"])); ?></td>
           <td align="center"><?php echo (substr($v["t_content"],0,30)); ?>...</td>
           <?php if($v["t_isOK"] == 0): ?><td align="center"><font color=red>未完成</font></td>
           <?php else: ?>
               <td align="center"><font color=green>已完成</font></td><?php endif; ?>
           <td align="center">
             <a href="#" onclick="alert(this.title)" title="<?php echo ($v["t_content"]); ?>">查看任务内容</a>
           </td>
         </tr><?php endforeach; endif; else: echo "" ;endif; ?>
      </table>
   </div>
  </div>
</body>
</html>